package com.bnz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;


/**
 * @author xy
 * @date 2022/10/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity(name = "a_user_role")
public class UserRoleRelation {
    @Id
    @Column(name = "id")
    private Integer id;
    @Column(name = "user_id")
    private Integer userId;
    @Column(name = "role_id")
    private Integer roleId;
}
